package cn.sherer.beans.kuaishou;

import java.io.Serializable;

/**
 * 快手支付通知数据
 */
public class KsNotifyPaymentData implements Serializable {
    private String channel;
    private String out_order_no;
    private String attach;
    private String status;
    private String ks_order_no;
    private int order_amount;
    private int apple_channel_fee;
    private int user_pay_amount;
    private String trade_no;
    private String extra_info;
    private boolean enable_promotion;
    private int developer_promotion_amount;
    private int promotion_amount;

    /** 支付渠道：微信 */
    public static final String CHANNEL_WECHAT = "WECHAT";
    /** 支付渠道：支付宝 */
    public static final String CHANNEL_ALIPAY = "ALIPAY";
    /** 支付渠道：苹果支付 */
    public static final String CHANNEL_APPLE_PAY = "APPLE_PAY";
    /** 支付渠道：未知 */
    public static final String CHANNEL_UNKNOWN = "UNKNOWN";

    /** 订单支付状态：成功 */
    public static final String STATUS_SUCCESS = "SUCCESS";
    /** 订单支付状态：失败 */
    public static final String STATUS_FAILED = "FAILED";
    /** 订单支付状态：处理中 */
    public static final String STATUS_PROCESSING = "PROCESSING";

    public KsNotifyPaymentData() {
    }

    public KsNotifyPaymentData(String channel, String out_order_no, String attach, String status, String ks_order_no, int order_amount, int apple_channel_fee, int user_pay_amount, String trade_no, String extra_info, boolean enable_promotion, int developer_promotion_amount, int promotion_amount) {
        this.channel = channel;
        this.out_order_no = out_order_no;
        this.attach = attach;
        this.status = status;
        this.ks_order_no = ks_order_no;
        this.order_amount = order_amount;
        this.apple_channel_fee = apple_channel_fee;
        this.user_pay_amount = user_pay_amount;
        this.trade_no = trade_no;
        this.extra_info = extra_info;
        this.enable_promotion = enable_promotion;
        this.developer_promotion_amount = developer_promotion_amount;
        this.promotion_amount = promotion_amount;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getOut_order_no() {
        return out_order_no;
    }

    public void setOut_order_no(String out_order_no) {
        this.out_order_no = out_order_no;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getKs_order_no() {
        return ks_order_no;
    }

    public void setKs_order_no(String ks_order_no) {
        this.ks_order_no = ks_order_no;
    }

    public int getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(int order_amount) {
        this.order_amount = order_amount;
    }

    public int getApple_channel_fee() {
        return apple_channel_fee;
    }

    public void setApple_channel_fee(int apple_channel_fee) {
        this.apple_channel_fee = apple_channel_fee;
    }

    public int getUser_pay_amount() {
        return user_pay_amount;
    }

    public void setUser_pay_amount(int user_pay_amount) {
        this.user_pay_amount = user_pay_amount;
    }

    public String getTrade_no() {
        return trade_no;
    }

    public void setTrade_no(String trade_no) {
        this.trade_no = trade_no;
    }

    public String getExtra_info() {
        return extra_info;
    }

    public void setExtra_info(String extra_info) {
        this.extra_info = extra_info;
    }

    public boolean isEnable_promotion() {
        return enable_promotion;
    }

    public void setEnable_promotion(boolean enable_promotion) {
        this.enable_promotion = enable_promotion;
    }

    public int getDeveloper_promotion_amount() {
        return developer_promotion_amount;
    }

    public void setDeveloper_promotion_amount(int developer_promotion_amount) {
        this.developer_promotion_amount = developer_promotion_amount;
    }

    public int getPromotion_amount() {
        return promotion_amount;
    }

    public void setPromotion_amount(int promotion_amount) {
        this.promotion_amount = promotion_amount;
    }

    @Override
    public String toString() {
        return "KsNotifyPaymentData{" + "channel=" + channel + ", out_order_no=" + out_order_no + ", attach=" + attach + ", status=" + status + ", ks_order_no=" + ks_order_no + ", order_amount=" + order_amount + ", apple_channel_fee=" + apple_channel_fee + ", user_pay_amount=" + user_pay_amount + ", trade_no=" + trade_no + ", extra_info=" + extra_info + ", enable_promotion=" + enable_promotion + ", developer_promotion_amount=" + developer_promotion_amount + ", promotion_amount=" + promotion_amount + "}";
    }
}
